package com.schoolET.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.schoolET.entity.Administrators;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

/**
 * <p>
 * 管理员信息 Mapper 接口
 * </p>
 *
 * @author lin
 * @since 2024-05-29
 */
@Mapper
public interface AdministratorsMapper extends BaseMapper<Administrators> {

    @Select("select * from administrators where account = #{account} and flag = 0")
    Administrators selectByAccount(String account);

}
